[INFO] fetching crate tdn_permission 0.2.0...
[INFO] building tdn_permission-0.2.0 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate tdn_permission 0.2.0 into /workspace/builds/worker-14/source
[INFO] validating manifest of crates.io crate tdn_permission 0.2.0 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tdn_permission 0.2.0
[INFO] finished tweaking crates.io crate tdn_permission 0.2.0
[INFO] tweaked toml for crates.io crate tdn_permission 0.2.0 written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate crates.io crate tdn_permission 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a4fec6417c315e612250c02b1ae53f8ea5e03bc42152ca0cb6e5f1f7e893ec40
[INFO] running `Command { std: "docker" "start" "-a" "a4fec6417c315e612250c02b1ae53f8ea5e03bc42152ca0cb6e5f1f7e893ec40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4fec6417c315e612250c02b1ae53f8ea5e03bc42152ca0cb6e5f1f7e893ec40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4fec6417c315e612250c02b1ae53f8ea5e03bc42152ca0cb6e5f1f7e893ec40", kill_on_drop: false }`
[INFO] [stdout] a4fec6417c315e612250c02b1ae53f8ea5e03bc42152ca0cb6e5f1f7e893ec40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 896b56ab3865bd292a455bfd9da62aef52b8282dd6cb487fa6ec6aa5f7fca497
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "896b56ab3865bd292a455bfd9da62aef52b8282dd6cb487fa6ec6aa5f7fca497", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.41
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling event-listener v2.4.0
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling postcard-cobs v0.1.5-pre
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling async-channel v1.4.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling dirs-sys v0.3.4
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling chamomile_types v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling postcard v0.5.1
[INFO] [stderr]    Compiling tdn_types v0.2.0
[INFO] [stderr]    Compiling tdn_permission v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 53.93s
[INFO] running `Command { std: "docker" "inspect" "896b56ab3865bd292a455bfd9da62aef52b8282dd6cb487fa6ec6aa5f7fca497", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "896b56ab3865bd292a455bfd9da62aef52b8282dd6cb487fa6ec6aa5f7fca497", kill_on_drop: false }`
[INFO] [stdout] 896b56ab3865bd292a455bfd9da62aef52b8282dd6cb487fa6ec6aa5f7fca497
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e75a6d1eb07fc54bee3e6b65c1749251b52e2c160c7d79b10a2eddc8af4b939d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e75a6d1eb07fc54bee3e6b65c1749251b52e2c160c7d79b10a2eddc8af4b939d", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling fastrand v1.3.5
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling async-task v3.0.0
[INFO] [stderr]    Compiling signature v1.2.2
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling bit-vec v0.6.2
[INFO] [stderr]    Compiling async-mutex v1.3.0
[INFO] [stderr]    Compiling async-semaphore v1.1.0
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling input_buffer v0.3.1
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling ed25519 v1.0.2
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling async-rwlock v1.1.0
[INFO] [stderr]    Compiling async-barrier v1.0.1
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling polling v1.0.2
[INFO] [stderr]    Compiling block-cipher v0.8.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling async-lock v2.1.3
[INFO] [stderr]    Compiling signal-hook v0.1.16
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling block-modes v0.6.1
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling futures-lite v1.4.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling bincode v1.3.1
[INFO] [stderr]    Compiling aes-soft v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling sha3 v0.8.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling sled v0.34.4
[INFO] [stderr]    Compiling rckad v0.0.6
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling blocking v1.0.0
[INFO] [stderr]    Compiling async-io v1.1.1
[INFO] [stderr]    Compiling async-executor v1.1.1
[INFO] [stderr]    Compiling zeroize_derive v1.0.1
[INFO] [stderr]    Compiling async-fs v1.3.0
[INFO] [stderr]    Compiling async-net v1.3.0
[INFO] [stderr]    Compiling async-process v1.0.0
[INFO] [stderr]    Compiling smol v1.0.1
[INFO] [stderr]    Compiling tungstenite v0.10.1
[INFO] [stderr]    Compiling zeroize v1.1.1
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling curve25519-dalek v3.0.0
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling x25519-dalek v1.1.0
[INFO] [stderr]    Compiling ed25519-dalek v1.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling async-tungstenite v0.4.2
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling chamomile v0.2.0
[INFO] [stderr]    Compiling tdn v0.2.0
[INFO] [stderr]    Compiling tdn_permission v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:157:10
[INFO] [stdout]     |
[INFO] [stdout] 157 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 157 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]     |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:168:33
[INFO] [stdout]     |
[INFO] [stdout] 168 | #[derive(Clone, Default, Debug, Serialize, Deserialize)]
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:168:44
[INFO] [stdout]     |
[INFO] [stdout] 168 | #[derive(Clone, Default, Debug, Serialize, Deserialize)]
[INFO] [stdout]     |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:176:10
[INFO] [stdout]     |
[INFO] [stdout] 176 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:176:21
[INFO] [stdout]     |
[INFO] [stdout] 176 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]     |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         json! ({
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider importing this macro:
[INFO] [stdout]             tdn_types::primitive::json
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiskDatabase`
[INFO] [stdout]   --> examples/vote_permissioned.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let db = DiskDatabase::new(Some(path.clone()));
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `DiskDatabase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiskStorageActor`
[INFO] [stdout]   --> examples/vote_permissioned.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let storage = DiskStorageActor::run(Some(path));
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^ use of undeclared type `DiskStorageActor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bincode`
[INFO] [stdout]    --> examples/vote_permissioned.rs:189:37
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let pkc = P::sign(ca_psk, &(bincode::serialize(&pk).unwrap()));
[INFO] [stdout]     |                                     ^^^^^^^ use of undeclared crate or module `bincode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bincode`
[INFO] [stdout]    --> examples/vote_permissioned.rs:199:21
[INFO] [stdout]     |
[INFO] [stdout] 199 |             let v = bincode::serialize(&ca.pk);
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared crate or module `bincode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]    --> examples/vote_permissioned.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |         serde_json::to_string(&ca_string).unwrap()
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
[INFO] [stdout]    --> examples/vote_permissioned.rs:226:55
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let join_type: Result<CertificateString, _> = serde_json::from_str(&s);
[INFO] [stdout]     |                                                       ^^^^^^^^^^ use of undeclared crate or module `serde_json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Group<P: Peer> {
[INFO] [stdout]   |                     ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tdn_types::group::Peer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GroupID` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     id: GroupID,
[INFO] [stdout]   |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     peers: HashMap<P::PublicKey, PeerAddr>,
[INFO] [stdout]   |            ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 |     peers: HashMap<P::PublicKey, PeerAddr>,
[INFO] [stdout]   |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tdn::prelude::PeerAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     waiting_peers: HashMap<P::PublicKey, Vec<(P::PublicKey, P::Signature)>>,
[INFO] [stdout]   |                    ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Addr` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     storage: Addr<DiskStorageActor>,
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DiskStorageActor` in this scope
[INFO] [stdout]  --> examples/vote_permissioned.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Group<P: Peer> {
[INFO] [stdout]   |                         - help: you might be missing a type parameter: `, DiskStorageActor`
[INFO] [stdout] ...
[INFO] [stdout] 8 |     storage: Addr<DiskStorageActor>,
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<P: 'static + Peer> Group<P> {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn_types::group::Peer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GroupID` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 2  | pub struct Group<P: Peer> {
[INFO] [stdout]    | ------------------------- similarly named struct `Group` defined here
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn load(id: GroupID, pk: P::PublicKey, peer_addr: PeerAddr, rate: f32) -> Self {
[INFO] [stdout]    |                     ^^^^^^^ help: a struct with a similar name exists: `Group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:12:59
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn load(id: GroupID, pk: P::PublicKey, peer_addr: PeerAddr, rate: f32) -> Self {
[INFO] [stdout]    |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_default_storage_path` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut path = get_default_storage_path();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> examples/vote_permissioned.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             HashMap::new()
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> examples/vote_permissioned.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |             waiting_peers: HashMap::new(),
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:44:62
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn get_peer_addr(&self, pk: &P::PublicKey) -> Option<PeerAddr> {
[INFO] [stdout]    |                                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:48:48
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn get_by_peer_addr(&self, peer_addr: &PeerAddr) -> Option<&P::PublicKey> {
[INFO] [stdout]    |                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:71:59
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub fn bootstrap(&mut self, peers: Vec<(P::PublicKey, PeerAddr)>) {
[INFO] [stdout]    |                                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Iter` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:77:27
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn iter(&self) -> Iter<P::PublicKey, PeerAddr> {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use core::option::Iter;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use core::result::Iter;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use core::slice::Iter;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use smol::stream::Iter;
[INFO] [stdout]    |
[INFO] [stdout]      and 12 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:77:46
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn iter(&self) -> Iter<P::PublicKey, PeerAddr> {
[INFO] [stdout]    |                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `GroupTrait` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl<P: 'static + Peer> GroupTrait<P> for Group<P> {
[INFO] [stdout]    |                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:82:19
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl<P: 'static + Peer> GroupTrait<P> for Group<P> {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn_types::group::Peer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GroupID` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:85:22
[INFO] [stdout]    |
[INFO] [stdout] 2  | pub struct Group<P: Peer> {
[INFO] [stdout]    | ------------------------- similarly named struct `Group` defined here
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn id(&self) -> &GroupID {
[INFO] [stdout]    |                      ^^^^^^^ help: a struct with a similar name exists: `Group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]   --> examples/vote_permissioned.rs:89:57
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn join(&mut self, data: Self::JoinType, peer_addr: PeerAddr) -> bool {
[INFO] [stdout]    |                                                         ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn::prelude::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EntityWrite` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:106:38
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 self.storage.do_send(EntityWrite(GroupStore::<P>(
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:117:37
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn leave(&mut self, peer_addr: &PeerAddr) -> bool {
[INFO] [stdout]     |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn::prelude::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:139:58
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn help_sync_peers(&self, _pk: &P::PublicKey) -> Vec<PeerAddr> {
[INFO] [stdout]     |                                                          ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn::prelude::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:152:64
[INFO] [stdout]     |
[INFO] [stdout] 152 |     fn add_sync_peers(&mut self, pk: &P::PublicKey, peer_addr: PeerAddr) {
[INFO] [stdout]     |                                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn::prelude::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct GroupStore<P: Peer>(GroupID, HashMap<P::PublicKey, PeerAddr>);
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn_types::group::Peer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GroupID` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:158:32
[INFO] [stdout]     |
[INFO] [stdout] 2   | pub struct Group<P: Peer> {
[INFO] [stdout]     | ------------------------- similarly named struct `Group` defined here
[INFO] [stdout] ...
[INFO] [stdout] 158 | pub struct GroupStore<P: Peer>(GroupID, HashMap<P::PublicKey, PeerAddr>);
[INFO] [stdout]     |                                ^^^^^^^ help: a struct with a similar name exists: `Group`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:158:41
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct GroupStore<P: Peer>(GroupID, HashMap<P::PublicKey, PeerAddr>);
[INFO] [stdout]     |                                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   | use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PeerAddr` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:158:63
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct GroupStore<P: Peer>(GroupID, HashMap<P::PublicKey, PeerAddr>);
[INFO] [stdout]     |                                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn::prelude::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn_types::primitive::PeerAddr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Entity` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl<P: Peer> Entity for GroupStore<P> {
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl<P: Peer> Entity for GroupStore<P> {
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn_types::group::Peer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:169:27
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub struct Certificate<P: Peer> {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn_types::group::Peer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Peer` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 | impl<P: Peer> Certificate<P> {
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tdn_types::group::Peer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RPCParams` in this scope
[INFO] [stdout]    --> examples/vote_permissioned.rs:217:33
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn to_jsonrpc(&self) -> RPCParams {
[INFO] [stdout]     |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `vote_permissioned`
[INFO] [stdout]    --> examples/vote_permissioned.rs:1:1
[INFO] [stdout]     |
[INFO] [stdout] 1   | / #[derive(Clone)]
[INFO] [stdout] 2   | | pub struct Group<P: Peer> {
[INFO] [stdout] 3   | |     id: GroupID,
[INFO] [stdout] 4   | |     rate: f32,
[INFO] [stdout] ...   |
[INFO] [stdout] 236 | |     }
[INFO] [stdout] 237 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `examples/vote_permissioned.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 49 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tdn_permission`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e75a6d1eb07fc54bee3e6b65c1749251b52e2c160c7d79b10a2eddc8af4b939d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e75a6d1eb07fc54bee3e6b65c1749251b52e2c160c7d79b10a2eddc8af4b939d", kill_on_drop: false }`
[INFO] [stdout] e75a6d1eb07fc54bee3e6b65c1749251b52e2c160c7d79b10a2eddc8af4b939d
